package com.BookManager.service;

import com.BookManager.entity.Book;
import com.BookManager.entity.Lend;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BookService {
    List<Lend> getLendList();

    Map<Book,Boolean> getBookMap();

    List<Book> getActiveBookList();

    void addLend(int sid,int bid);

    void returnBook(int lid);

    void addBook(String title,String info, double price);

    void deleteBook(int bid);

}
